package com.ys.entity.storage;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_TransportationTypeItem", catalog="Id")
public class TccTransportationTypeItem extends BaseEntity<TccTransportationTypeItem> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="TransportationTypeId", nameJava="transportationTypeId", typeDataBase="bigint")
	private Long transportationTypeId;
	@YsField(nameDataBase="TransportationTypeZbCn", nameJava="transportationTypeZbCn", typeDataBase="varchar")
	private String transportationTypeZbCn;
	@YsField(nameDataBase="TransportationTypeZbEn", nameJava="transportationTypeZbEn", typeDataBase="varchar")
	private String transportationTypeZbEn;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccTransportationTypeItem setId(Long id) {
		this.id = id;
		return this;
	}
	public Long getTransportationTypeId() {
		return transportationTypeId;
	}
	public TccTransportationTypeItem setTransportationTypeId(Long transportationTypeId) {
		this.transportationTypeId = transportationTypeId;
		return this;
	}
	public String getTransportationTypeZbCn() {
		return transportationTypeZbCn;
	}
	public TccTransportationTypeItem setTransportationTypeZbCn(String transportationTypeZbCn) {
		this.transportationTypeZbCn = transportationTypeZbCn;
		return this;
	}
	public String getTransportationTypeZbEn() {
		return transportationTypeZbEn;
	}
	public TccTransportationTypeItem setTransportationTypeZbEn(String transportationTypeZbEn) {
		this.transportationTypeZbEn = transportationTypeZbEn;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccTransportationTypeItem setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccTransportationTypeItem setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccTransportationTypeItem setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccTransportationTypeItem tccTransportationTypeItem(
		Long transportationTypeId,
		String transportationTypeZbCn,
		String transportationTypeZbEn,
		Integer status
			) {
		TccTransportationTypeItem entity = new TccTransportationTypeItem();
		entity.setTransportationTypeId(transportationTypeId);
		entity.setTransportationTypeZbCn(transportationTypeZbCn);
		entity.setTransportationTypeZbEn(transportationTypeZbEn);
		entity.setStatus(status);
		return entity;
	}
}